.video-box {
  width: 32rem;
  position: relative;
  overflow: hidden;
}

.video-box video {
  display: block;
  width: 100%;
  height: auto;
}

.video-box > div {
  position: absolute;
  left: 0px;
  top: 0px;
  bottom: 0px;
  right: 0px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.7);
  transform: translate(100%, 100%);
  transition: transform 0.5s;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-box:hover > div {
  transform: translate(0, 0);
  text-align: center;
}

.video-box img {
  width: 5rem;
  cursor: pointer;
}
